package com.meixiang.entity.fund;

/**
 * Created by xyj on 2016/6/7.
 */

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 基金列表 其他频道数据实体
 */
public class FundInfoBean implements Parcelable {

    private String fund_id;
    private String fund_name;
    private String cnt;
    private String rate;
    private String nav;
    private String fund_fee;


    protected FundInfoBean(Parcel in) {
        fund_id = in.readString();
        fund_name = in.readString();
        cnt = in.readString();
        rate = in.readString();
        fund_fee = in.readString();
        nav = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(fund_id);
        dest.writeString(fund_name);
        dest.writeString(cnt);
        dest.writeString(rate);
        dest.writeString(fund_fee);
        dest.writeString(nav);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<FundInfoBean> CREATOR = new Creator<FundInfoBean>() {
        @Override
        public FundInfoBean createFromParcel(Parcel in) {
            return new FundInfoBean(in);
        }

        @Override
        public FundInfoBean[] newArray(int size) {
            return new FundInfoBean[size];
        }
    };

    public String getNav() {
        return nav == null ? "" : nav;
    }

    public void setNav(String nav) {
        this.nav = nav;
    }

    public String getFund_id() {
        return fund_id == null ? "" : fund_id;
    }

    public void setFund_id(String fund_id) {
        this.fund_id = fund_id;
    }

    public String getFund_name() {
        return fund_name == null ? "" : fund_name;
    }

    public void setFund_name(String fund_name) {
        this.fund_name = fund_name;
    }

    public String getCnt() {
        return cnt == null ? "" : cnt;
    }

    public void setCnt(String cnt) {
        this.cnt = cnt;
    }

    public String getRate() {
        return rate == null ? "" : rate;
    }

    public void setRate(String rate) {
        this.rate = rate;
    }

    public String getFund_fee() {
        return fund_fee == null ? "" : fund_fee;
    }

    public void setFund_fee(String fund_fee) {
        this.fund_fee = fund_fee;
    }
}